package com.eljuegodel8.andres.io;

import java.io.InputStream;
import java.io.PrintStream;
import java.util.Scanner;

public class IO {

	private Scanner in;
	private PrintStream out;

	public IO(InputStream in, PrintStream out) {
		this.in = new Scanner(in);
		this.out = out;
	}

	public String leerToken() {
		return in.nextLine();
	}

	public void imprimirMensaje(String mensaje) {
		out.println(mensaje);
	}

}
